
cc.Class({
    extends: cc.Component,

    properties: {
        mTitle: {//标题
            default: null,
            type: cc.Label
        },

        mContent: {//内容
            default: null,
            type: cc.Label
        },

        mCloseBtnLabel: {
            default: null,
            type: cc.Label
        },
    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    setMsgTipsLabel: function(content,title,coloseLabel){
        this.mContent.string = content;
        if(title){
            this.mTitle.string = title;
        }

        if(coloseLabel){
            this.mCloseBtnLabel.string = coloseLabel;
        }
    },

    start () {

    },

    btnCallBack: function(){
        this.node.destroy();
    },

    // update (dt) {},
});
